package com.health.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@TableName("t_order")
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer memberId;
    private Integer setmealId;
    private LocalDate orderDate;
    private String name;
    private Integer sex;
    private String telephone;
    private String idCard;
    private Integer status; //预约状态: 1未到诊  2已到诊  3已取消 ...
    private Integer type; //预约类型: 1微信预约  2电话预约
}